\hypertarget{class_graph_viewer}{
\section{GraphViewer Class Reference}
\label{class_graph_viewer}\index{GraphViewer@{GraphViewer}}
}


{\ttfamily \#include $<$graphviewer.h$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_graph_viewer_a1298df6c55ca961f9a5ab578a8c0a18c}{GraphViewer} (int, int, bool)
\item 
bool \hyperlink{class_graph_viewer_ae5247dc66449dcd21fc5d531bbbaddfa}{createWindow} (int width, int height)
\item 
bool \hyperlink{class_graph_viewer_a85990c1eaac7feed3950960d4bd2fd4c}{closeWindow} ()
\item 
bool \hyperlink{class_graph_viewer_a5421e86ac76433876309236ba96e70a2}{addNode} (int id, int x, int y)
\item 
bool \hyperlink{class_graph_viewer_ab9be856eb5f45284719a3bb119ec01ea}{addNode} (int id)
\item 
bool \hyperlink{class_graph_viewer_aad0c1448c37f744209ffb671f1bd0015}{addEdge} (int id, int v1, int v2, int edgeType)
\item 
bool \hyperlink{class_graph_viewer_a0c418639bb911eb827cabf895915f775}{removeNode} (int id)
\item 
bool \hyperlink{class_graph_viewer_a9a8ee68c7c12b373affbe4069dd95d72}{removeEdge} (int id)
\item 
bool \hyperlink{class_graph_viewer_ac25d7d007022fda16799808ba136e909}{setVertexLabel} (int id, string label)
\item 
bool \hyperlink{class_graph_viewer_a447cca0064e785654c2105602c2961ca}{setEdgeLabel} (int id, string label)
\item 
bool \hyperlink{class_graph_viewer_a07ccc96707efae4aa5f3ced3dca015af}{setEdgeColor} (int id, string color)
\item 
bool \hyperlink{class_graph_viewer_a07f598272fe3515455eab13be749604a}{setEdgeThickness} (int id, int thickness)
\item 
bool \hyperlink{class_graph_viewer_a8b542d7e09e81a45a74760c19233beb0}{setVertexColor} (int id, string color)
\item 
bool \hyperlink{class_graph_viewer_a4102580b69826ba83251ef7bb262f8be}{defineEdgeColor} (string color)
\item 
bool \hyperlink{class_graph_viewer_a76de8676b7a93d72af514b84cdaa4d21}{defineVertexColor} (string color)
\item 
bool \hyperlink{class_graph_viewer_a02437b5fecd8b90de24436068312d593}{setBackground} (string path)
\item 
bool \hyperlink{class_graph_viewer_a3009a66958686ccb7e78b68e37c3c423}{rearrange} ()
\end{DoxyCompactItemize}


\subsection{Constructor \& Destructor Documentation}
\hypertarget{class_graph_viewer_a1298df6c55ca961f9a5ab578a8c0a18c}{
\index{GraphViewer@{GraphViewer}!GraphViewer@{GraphViewer}}
\index{GraphViewer@{GraphViewer}!GraphViewer@{GraphViewer}}
\subsubsection[{GraphViewer}]{\setlength{\rightskip}{0pt plus 5cm}GraphViewer::GraphViewer (
\begin{DoxyParamCaption}
\item[{int}]{width, }
\item[{int}]{height, }
\item[{bool}]{dynamic}
\end{DoxyParamCaption}
)}}
\label{class_graph_viewer_a1298df6c55ca961f9a5ab578a8c0a18c}


\subsection{Member Function Documentation}
\hypertarget{class_graph_viewer_aad0c1448c37f744209ffb671f1bd0015}{
\index{GraphViewer@{GraphViewer}!addEdge@{addEdge}}
\index{addEdge@{addEdge}!GraphViewer@{GraphViewer}}
\subsubsection[{addEdge}]{\setlength{\rightskip}{0pt plus 5cm}bool GraphViewer::addEdge (
\begin{DoxyParamCaption}
\item[{int}]{id, }
\item[{int}]{v1, }
\item[{int}]{v2, }
\item[{int}]{edgeType}
\end{DoxyParamCaption}
)}}
\label{class_graph_viewer_aad0c1448c37f744209ffb671f1bd0015}
\hypertarget{class_graph_viewer_a5421e86ac76433876309236ba96e70a2}{
\index{GraphViewer@{GraphViewer}!addNode@{addNode}}
\index{addNode@{addNode}!GraphViewer@{GraphViewer}}
\subsubsection[{addNode}]{\setlength{\rightskip}{0pt plus 5cm}bool GraphViewer::addNode (
\begin{DoxyParamCaption}
\item[{int}]{id, }
\item[{int}]{x, }
\item[{int}]{y}
\end{DoxyParamCaption}
)}}
\label{class_graph_viewer_a5421e86ac76433876309236ba96e70a2}
\hypertarget{class_graph_viewer_ab9be856eb5f45284719a3bb119ec01ea}{
\index{GraphViewer@{GraphViewer}!addNode@{addNode}}
\index{addNode@{addNode}!GraphViewer@{GraphViewer}}
\subsubsection[{addNode}]{\setlength{\rightskip}{0pt plus 5cm}bool GraphViewer::addNode (
\begin{DoxyParamCaption}
\item[{int}]{id}
\end{DoxyParamCaption}
)}}
\label{class_graph_viewer_ab9be856eb5f45284719a3bb119ec01ea}
\hypertarget{class_graph_viewer_a85990c1eaac7feed3950960d4bd2fd4c}{
\index{GraphViewer@{GraphViewer}!closeWindow@{closeWindow}}
\index{closeWindow@{closeWindow}!GraphViewer@{GraphViewer}}
\subsubsection[{closeWindow}]{\setlength{\rightskip}{0pt plus 5cm}bool GraphViewer::closeWindow (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{class_graph_viewer_a85990c1eaac7feed3950960d4bd2fd4c}
\hypertarget{class_graph_viewer_ae5247dc66449dcd21fc5d531bbbaddfa}{
\index{GraphViewer@{GraphViewer}!createWindow@{createWindow}}
\index{createWindow@{createWindow}!GraphViewer@{GraphViewer}}
\subsubsection[{createWindow}]{\setlength{\rightskip}{0pt plus 5cm}bool GraphViewer::createWindow (
\begin{DoxyParamCaption}
\item[{int}]{width, }
\item[{int}]{height}
\end{DoxyParamCaption}
)}}
\label{class_graph_viewer_ae5247dc66449dcd21fc5d531bbbaddfa}
\hypertarget{class_graph_viewer_a4102580b69826ba83251ef7bb262f8be}{
\index{GraphViewer@{GraphViewer}!defineEdgeColor@{defineEdgeColor}}
\index{defineEdgeColor@{defineEdgeColor}!GraphViewer@{GraphViewer}}
\subsubsection[{defineEdgeColor}]{\setlength{\rightskip}{0pt plus 5cm}bool GraphViewer::defineEdgeColor (
\begin{DoxyParamCaption}
\item[{string}]{color}
\end{DoxyParamCaption}
)}}
\label{class_graph_viewer_a4102580b69826ba83251ef7bb262f8be}
\hypertarget{class_graph_viewer_a76de8676b7a93d72af514b84cdaa4d21}{
\index{GraphViewer@{GraphViewer}!defineVertexColor@{defineVertexColor}}
\index{defineVertexColor@{defineVertexColor}!GraphViewer@{GraphViewer}}
\subsubsection[{defineVertexColor}]{\setlength{\rightskip}{0pt plus 5cm}bool GraphViewer::defineVertexColor (
\begin{DoxyParamCaption}
\item[{string}]{color}
\end{DoxyParamCaption}
)}}
\label{class_graph_viewer_a76de8676b7a93d72af514b84cdaa4d21}
\hypertarget{class_graph_viewer_a3009a66958686ccb7e78b68e37c3c423}{
\index{GraphViewer@{GraphViewer}!rearrange@{rearrange}}
\index{rearrange@{rearrange}!GraphViewer@{GraphViewer}}
\subsubsection[{rearrange}]{\setlength{\rightskip}{0pt plus 5cm}bool GraphViewer::rearrange (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{class_graph_viewer_a3009a66958686ccb7e78b68e37c3c423}
\hypertarget{class_graph_viewer_a9a8ee68c7c12b373affbe4069dd95d72}{
\index{GraphViewer@{GraphViewer}!removeEdge@{removeEdge}}
\index{removeEdge@{removeEdge}!GraphViewer@{GraphViewer}}
\subsubsection[{removeEdge}]{\setlength{\rightskip}{0pt plus 5cm}bool GraphViewer::removeEdge (
\begin{DoxyParamCaption}
\item[{int}]{id}
\end{DoxyParamCaption}
)}}
\label{class_graph_viewer_a9a8ee68c7c12b373affbe4069dd95d72}
\hypertarget{class_graph_viewer_a0c418639bb911eb827cabf895915f775}{
\index{GraphViewer@{GraphViewer}!removeNode@{removeNode}}
\index{removeNode@{removeNode}!GraphViewer@{GraphViewer}}
\subsubsection[{removeNode}]{\setlength{\rightskip}{0pt plus 5cm}bool GraphViewer::removeNode (
\begin{DoxyParamCaption}
\item[{int}]{id}
\end{DoxyParamCaption}
)}}
\label{class_graph_viewer_a0c418639bb911eb827cabf895915f775}
\hypertarget{class_graph_viewer_a02437b5fecd8b90de24436068312d593}{
\index{GraphViewer@{GraphViewer}!setBackground@{setBackground}}
\index{setBackground@{setBackground}!GraphViewer@{GraphViewer}}
\subsubsection[{setBackground}]{\setlength{\rightskip}{0pt plus 5cm}bool GraphViewer::setBackground (
\begin{DoxyParamCaption}
\item[{string}]{path}
\end{DoxyParamCaption}
)}}
\label{class_graph_viewer_a02437b5fecd8b90de24436068312d593}
\hypertarget{class_graph_viewer_a07ccc96707efae4aa5f3ced3dca015af}{
\index{GraphViewer@{GraphViewer}!setEdgeColor@{setEdgeColor}}
\index{setEdgeColor@{setEdgeColor}!GraphViewer@{GraphViewer}}
\subsubsection[{setEdgeColor}]{\setlength{\rightskip}{0pt plus 5cm}bool GraphViewer::setEdgeColor (
\begin{DoxyParamCaption}
\item[{int}]{id, }
\item[{string}]{color}
\end{DoxyParamCaption}
)}}
\label{class_graph_viewer_a07ccc96707efae4aa5f3ced3dca015af}
\hypertarget{class_graph_viewer_a447cca0064e785654c2105602c2961ca}{
\index{GraphViewer@{GraphViewer}!setEdgeLabel@{setEdgeLabel}}
\index{setEdgeLabel@{setEdgeLabel}!GraphViewer@{GraphViewer}}
\subsubsection[{setEdgeLabel}]{\setlength{\rightskip}{0pt plus 5cm}bool GraphViewer::setEdgeLabel (
\begin{DoxyParamCaption}
\item[{int}]{id, }
\item[{string}]{label}
\end{DoxyParamCaption}
)}}
\label{class_graph_viewer_a447cca0064e785654c2105602c2961ca}
\hypertarget{class_graph_viewer_a07f598272fe3515455eab13be749604a}{
\index{GraphViewer@{GraphViewer}!setEdgeThickness@{setEdgeThickness}}
\index{setEdgeThickness@{setEdgeThickness}!GraphViewer@{GraphViewer}}
\subsubsection[{setEdgeThickness}]{\setlength{\rightskip}{0pt plus 5cm}bool GraphViewer::setEdgeThickness (
\begin{DoxyParamCaption}
\item[{int}]{id, }
\item[{int}]{thickness}
\end{DoxyParamCaption}
)}}
\label{class_graph_viewer_a07f598272fe3515455eab13be749604a}
\hypertarget{class_graph_viewer_a8b542d7e09e81a45a74760c19233beb0}{
\index{GraphViewer@{GraphViewer}!setVertexColor@{setVertexColor}}
\index{setVertexColor@{setVertexColor}!GraphViewer@{GraphViewer}}
\subsubsection[{setVertexColor}]{\setlength{\rightskip}{0pt plus 5cm}bool GraphViewer::setVertexColor (
\begin{DoxyParamCaption}
\item[{int}]{id, }
\item[{string}]{color}
\end{DoxyParamCaption}
)}}
\label{class_graph_viewer_a8b542d7e09e81a45a74760c19233beb0}
\hypertarget{class_graph_viewer_ac25d7d007022fda16799808ba136e909}{
\index{GraphViewer@{GraphViewer}!setVertexLabel@{setVertexLabel}}
\index{setVertexLabel@{setVertexLabel}!GraphViewer@{GraphViewer}}
\subsubsection[{setVertexLabel}]{\setlength{\rightskip}{0pt plus 5cm}bool GraphViewer::setVertexLabel (
\begin{DoxyParamCaption}
\item[{int}]{id, }
\item[{string}]{label}
\end{DoxyParamCaption}
)}}
\label{class_graph_viewer_ac25d7d007022fda16799808ba136e909}


The documentation for this class was generated from the following files:\begin{DoxyCompactItemize}
\item 
C:/Users/Paulo/git/cal2012t4/water/src/\hyperlink{graphviewer_8h}{graphviewer.h}\item 
C:/Users/Paulo/git/cal2012t4/water/src/\hyperlink{graphviewer_8cpp}{graphviewer.cpp}\end{DoxyCompactItemize}
